package com.example.student.mapper;

import com.example.student.entity.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    Student findById(Integer id);
    int insert(Student student);
    int update(Student student);
    int delete(Integer id);
    List<Student> findAll();
    List<Student> findByIds(List<Long> id);
}
